package Help;

public class MyTreeNode {

	private int data;
	private MyTreeNode LeChild;
	private MyTreeNode RiChild;

	public MyTreeNode() {
		LeChild = null;
		RiChild = null;
		data=0;
	}

	public int getData() {
		return data;
	}

	public void setData(int data) {
		this.data = data;
	}

	public MyTreeNode getLeChild() {
		return LeChild;
	}

	public void setLeChild(MyTreeNode leChild) {
		LeChild = leChild;
	}

	public MyTreeNode getRiChild() {
		return RiChild;
	}

	public void setRiChild(MyTreeNode riChild) {
		RiChild = riChild;
	}

}
